﻿<%@ Page Language="C#" AutoEventWireup="false" MasterPageFile="~/App_MasterPages/layout.Master"
    CodeBehind="SiteList.aspx.cs" Inherits="mojoPortal.Web.AdminUI.SiteListPage" %>

<asp:content contentplaceholderid="leftContent" id="MPLeftPane" runat="server" />
<asp:content contentplaceholderid="mainContent" id="MPContent" runat="server">
<div class="breadcrumbs">
        <asp:HyperLink ID="lnkAdminMenu" runat="server" NavigateUrl="~/Admin/AdminMenu.aspx"
            CssClass="unselectedcrumb" />&nbsp;&gt;
        <asp:HyperLink ID="lnkSiteList" runat="server" CssClass="selectedcrumb" />
    </div>
    <portal:mojoPanel ID="mp1" runat="server" ArtisteerCssClass="art-Post" RenderArtisteerBlockContentDivs="true">
        <mp:CornerRounderTop ID="ctop1" runat="server" EnableViewState="false" />
        <asp:panel id="pnl1" runat="server" cssclass="panelwrapper ">
        <portal:HeadingControl id="heading" runat="server" />
            <portal:mojoPanel ID="MojoPanel1" runat="server" ArtisteerCssClass="art-PostContent">
                <div class="modulecontent">
                    <asp:repeater id="rptSites" runat="server">
                        <headertemplate>
                            <ul class="simplelist sitelist">
                            <li class="simplelist">
                                <a class="siteitem currentsite" href='<%# SiteRoot + "/Admin/SiteSettings.aspx" %>'><%# CurrentSiteName %></a>
                            </li>
                        </headertemplate>
                        <itemtemplate>
                            <li class="simplelist">
                                <a class="siteitem" href='<%# SiteRoot + "/Admin/SiteSettings.aspx?SiteID=" + Eval("SiteID") %>'><%# Eval("SiteName") %></a>
                                <asp:Label id="lblSiteID" runat="server" CssClass="siteidlabel" Visible='<%# showSiteIDInSiteList %>' Text='<%# FormatSiteId(Convert.ToInt32(Eval("SiteID"))) %>' />
                            </li>
                        </itemtemplate>
                        <footertemplate>
                            </ul>
                        </footertemplate>
                    </asp:repeater>
                    <div class="modulepager">
                        <portal:mojoCutePager ID="pgr" runat="server" />
                    </div>
                    <div class="settingrow">
                        <asp:Hyperlink id="lnkNewSite" runat="server" />
                    </div>
                </div>
            </portal:mojoPanel>
            <div class="cleared">
            </div>
        </asp:panel>
        <mp:CornerRounderBottom ID="cbottom1" runat="server" EnableViewState="false" />
    </portal:mojoPanel>
</asp:content>
<asp:content contentplaceholderid="rightContent" id="MPRightPane" runat="server" />
<asp:content contentplaceholderid="pageEditContent" id="MPPageEdit" runat="server" />
